package com.xuelang.pipeline.artifact.app.nexus3v1.xo;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class DockerProxyAttributes {
    /**
     * Allow Nexus Repository Manager to download and cache foreign layers
     */
    private Boolean cacheForeignLayers;
    /**
     * Regular expressions used to identify URLs that are allowed for foreign layer requests
     */
    private List<String> foreignLayerURLWhitelist;
    /**
     * Type of Docker Index
     */
    private String indexType;
    /**
     * Url of Docker Index to use
     */
    private String indexURL;
}